package com.itgaohe.service;


import com.itgaohe.dao.entity.Chat;

import java.util.List;

public interface ChatService {
    /**
     * 查询用户聊天记录
     */
    List<Chat> getChatHistory(Long currentUserId, Long friendId);

    /**
     * 用户发送消息
     */
    Boolean sendMessage(Chat chat);
}
